import { ChartPointModel } from "../../../../../shared/models/chartPoint.model";

export class UniverseBenchmarkModel {
    public chartData: ChartPointModel[];
    public performance: PerformanceModel;
}

export class SubIndustryBenchmarkModel extends UniverseBenchmarkModel {
    public peersList: PeerModel[];
}

export class MeiBenchmarkModel{
    public chartDataUniverse: ChartPointModel[];
    public chartDataIndustry: ChartPointModel[];
    public chartDataSubIndustry: ChartPointModel[];
    public universePerformance: PerformanceModel;
    public industryPerformance: PerformanceModel;
    public subIndustryPerformance: PerformanceModel;
    public peersList: PeerModel[];
}

export class IndustryBenchmarkModel extends UniverseBenchmarkModel {
    public peersList: PeerModel[];
}

class PerformanceModel {
    public count: number;
    public percentile: number;
    public rank: number;
}

class PeerModel {
    public assessment: number;
    public companyId: string;
    public companyName: string;
    public exposure: number;
    public managementRisk: number;
    public rank: number;
    public unmanaged: number;
}